package net.xuzhen97.distributed.transaction.order.service.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import net.xuzhen97.distributed.transaction.order.common.validator.IValidate;

import javax.validation.constraints.NotBlank;

@Data
public class OrderAddCmd implements IValidate {
    @JsonIgnore
    @NotBlank
    private String opUserId;
    @NotBlank
    private String userId;
    @NotBlank
    private String courseId;
}
